package cn.edu.zjusc.POJO;

import java.util.List;

/**
 * 该类用于遇到分页数据时，将3部分数据返回客户端
 * 1是这一页的数据 2是一共的数据条数 3是一页的数据条数
 * @author Tr0j4n
 *
 */
public class PageDataCollection<T> {
	private int pageSize;
	private int totalSize;
	private  List<T> dataList=null;
	
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotalSize() {
		return totalSize;
	}
	public void setTotalSize(int totalSize) {
		this.totalSize = totalSize;
	}
	public List<T> getDataList() {
		return dataList;
	}
	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}
}
